udhcpsnoop: remove outdated version of the package
authorJohn Crispin <[email protected]>
Mon, 26 May 2025 12:38:05 +0000 (14:38 +0200)
committerFelix Fietkau <[email protected]>
Fri, 18 Jul 2025 11:59:31 +0000 (13:59 +0200)
Remove outdated version of udhcpsnoop

Signed-off-by: John Crispin <[email protected]>
net/udhcpsnoop/Makefile [deleted file]
net/udhcpsnoop/files/etc/config/dhcpsnoop [deleted file]
net/udhcpsnoop/files/etc/init.d/dhcpsnoop [deleted file]

diff --git a/net/udhcpsnoop/Makefile b/net/udhcpsnoop/Makefile
deleted file mode 100644 (file)
index c67e7cc..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=udhcpsnoop
-PKG_RELEASE:=2
-
-PKG_LICENSE:=BSD-3-Clause
-PKG_MAINTAINER:=John Crispin <[email protected]>
-
-PKG_SOURCE_URL=https://github.com/blogic/udhcpsnoop.git
-PKG_MIRROR_HASH:=7ec9fb542a56d48740bf98d6bb6283704fd0cab1b35a1accb0beb587e45c39ab
-PKG_SOURCE_PROTO:=git
-PKG_SOURCE_DATE:=2021-05-30
-PKG_SOURCE_VERSION:=b86639904147a40be32ac43cd89c21109ffc3543
-
-include $(INCLUDE_DIR)/package.mk
-include $(INCLUDE_DIR)/cmake.mk
-
-define Package/udhcpsnoop
-  SECTION:=net
-  CATEGORY:=Network
-  TITLE:=DHCP Snooping Daemon
-  DEPENDS:=+libubox +libubus +libuci
-endef
-
-define Package/udhcpsnoop/install
-       $(INSTALL_DIR) $(1)/usr/sbin
-       $(INSTALL_BIN) $(PKG_BUILD_DIR)/udhcpsnoop $(1)/usr/sbin/
-       $(CP) ./files/* $(1)
-endef
-
-define Package/udhcpsnoop/conffiles
-/etc/config/dhcpsnoop
-endef
-
-$(eval $(call BuildPackage,udhcpsnoop))
diff --git a/net/udhcpsnoop/files/etc/config/dhcpsnoop b/net/udhcpsnoop/files/etc/config/dhcpsnoop
deleted file mode 100644 (file)
index 21b1c41..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-config snooping
-       option enable 0
-       #list network lan
-       #list network wan
diff --git a/net/udhcpsnoop/files/etc/init.d/dhcpsnoop b/net/udhcpsnoop/files/etc/init.d/dhcpsnoop
deleted file mode 100755 (executable)
index 30fe272..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/sh /etc/rc.common
-
-START=80
-
-USE_PROCD=1
-PROG=/usr/sbin/udhcpsnoop
-
-service_triggers() {
-       procd_add_reload_trigger dhcpsnoop
-}
-
-start_service() {
-       [ "$(uci get dhcpsnoop.@snooping[-1].enable)" -eq 1 ] || return
-       procd_open_instance
-       procd_set_param command "$PROG"
-       procd_set_param respawn
-       procd_close_instance
-}
-
-reload_service() {
-       restart
-}